import React from "react";

interface Props {
    name?: string;
    color?: string;
}
class ShoppingList extends React.Component<Props, {}> {
    render() {
        return (
            <div className="shopping-list">
                <h1>Shopping List for {this.props.name}</h1>
                <ul>
                    <li>{this.props.color}</li>
                </ul>
            </div>
        );
    }
}

export default ShoppingList;